<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>01.vue第一个入门应用</title>
</head>
<body>
<div id="app">
    <h2>{{msg}}</h2>
    <h2>{{username}}</h2>
    <h2>{{password}}</h2>
</div>
<!--<script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>-->
<script src="js/vue.js"></script>
<script>
    const app = new Vue({
        el: "#app",  //element 用来给Vue实例定义一个作用范围
        data: {      //用来给Vue实例定义一些相关数据
            msg: "hello word",
            username: "mike",
            password: "123456"
        }
    });
</script>
</body>
</html>